package com.lihao.wanandroid.ui.navigation

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.lihao.wanandroid.R
import com.lihao.wanandroid.data.model.ArticleResponse

/**
 * 导航右边的列表适配器
 */
class NaviItemAdapter: BaseQuickAdapter<ArticleResponse, BaseViewHolder>(R.layout.item_nav_content) {

    override fun convert(holder: BaseViewHolder, item: ArticleResponse) {
        holder.setText(R.id.tvContent, item.title)
    }
}